package com.leetcode.merci.lc257;

import com.leetcode.merci.TreeNode;

import java.util.List;

/**
 * Created by bowen on 2017/7/23.
 */
public class Test {

    public static TreeNode makeQuestion(){
        TreeNode root =new TreeNode(1);
        TreeNode node = root;
        node.right=new TreeNode(3);
        node.right.left=new TreeNode(6);
        node.right.right=new TreeNode(7);
        node=node.left=new TreeNode(2);
//        node.right=new TreeNode(5);
//        node.left=new TreeNode((4));
        return root;
    }
    public static void main(String[] args) {
        TreeNode root=makeQuestion();
        Solution solution=new Solution();
        List<String> result = solution.binaryTreePaths(root);
        System.out.println(result);
    }
}
